package cn.iocoder.yudao.module.psy.controller.admin.wxuser.vo;

import cn.iocoder.yudao.module.system.api.dept.dto.DeptRespDTO;
import cn.iocoder.yudao.module.system.api.user.dto.AdminUserRespDTO;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 学生信息 Response VO")
@Data
@ExcelIgnoreUnannotated

public class WxUserRespVO implements TransPojo {
    @ExcelProperty("部门")
    private String deptName;
    @ExcelProperty("用户")
    private String userName;
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30496")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "部门id", example = "17871")
    @Trans(type = TransType.SIMPLE,targetClassName ="cn.iocoder.yudao.module.system.dal.dataobject.dept.DeptDO",fields = "name",ref = "deptName")
    private Long deptId;

    @Schema(description = "微信唯一标识符", example = "6169")
    @ExcelProperty("微信唯一标识符")
    private String openId;

    @Schema(description = "用户id", example = "25645")

    @Trans(type = TransType.SIMPLE,targetClassName ="cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO",fields = "nickname",ref = "userName")
    private Long userId;

    @Schema(description = "微信名称", example = "赵六")
    @ExcelProperty("姓名")
    private String nickName;

    @Schema(description = "电话")
    @ExcelProperty("电话")
    private String phone;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;


}